In this document, we’ll introduce the R code you need to successfully “wrangle” messy datasets into a form that is useful for your analyses. If you’re unfamiliar with the word “wrangle”, here’s an illustration from the wonderful Allison Horst:
By the end of this week, you will be able to…
When you see an indented block like this…
Exercise
Edit the “author” field in the header to include your name too!
…that’s your queue to open up the .Rmd file and practice writing your own code!
That’s all I have to say by way of introduction. Have fun!
Statistics is the plural of statistic. A statistic is a quantity computed from observed data. We typically compute these statistics for one of two reasons:
This week our focus is on the first purpose – describing the sample we have. We’ll do more with inferential statistics once we’ve learned some probability theory.